﻿using System;
using System.Collections.Generic;
using System.ServiceModel;


namespace DemoSqlServer.Web
{
    [ServiceContract]
    public interface IDataService
    {
        [OperationContract]
        List<Customer> GetCustomers();
        [OperationContract]
        List<Customer> GetCustomersByname(String objCustomername);
        [OperationContract]
        DataSetData GetDataSetData(string SQL, int PageNumber, int PageSize, out CustomException ServiceError);

        [OperationContract]
        void DoWork();

        [OperationContract]
        List<Picture> GetImageList();
    }
}
